"""
@Time: 2021/3/8 下午 7:27
@Author: jinzhuan
@File: BBN.py
@Desc: 
"""
from cognlp.io.loader.ner.ontonotes import OntoNotesNerLoader
from cognlp.io.processor.ner.ontonotes import OntoNotesNERProcessor


loader = OntoNotesNerLoader()
train_data, dev_data, test_data = loader.load_all('../../../../cognlp/data/ner/OntoNotes/data')
processor = OntoNotesNERProcessor(label_list=loader.get_labels(), path='../../../../cognlp/data/ner/OntoNotes/data/')

train_datable = processor.process(train_data)
print(1)
